Update ScheduleWriter.cpp

fixing some constants