Updates to get API client script working (different than what is presented on bloc)