env api key storage now working