added build.targets and changed SchedulerContext