changes in generate timetable for adding programs