added sourcing of api keys