Add automatic end time to schedules