change key to environment var