added schedules and schedule creation for single and multiple records