Added possibility to have multiple schedules in file