Added schedule.rb for callbacks