removed environment from scheduler.