changed name of environment variable for redis key to ENV_NAME.