Edited the scheduler module.