Script to make the schedule table