Working on making the scheduler work.