Changed it to take the API key as an envar