try to load API key from env. variable