- change this script to one whose primary jobs is to generate the API