added script to save schedules to mongo