This generates schedules based on availability.