Add all the logic for schedules and overrides.