updating task-scheduler to make user adjustable