Edited the scheduler module