Fixed the name of the environment variable used