update rake file and tasks for scheduler