modifying script and adding new gh_api