updated api key to be read from configurable env var