Changed define from config.environment to env