Add task scheduler