removing dependency install and checking for api key