fetch the environment from the application section of the config