Now correctly adding schedules to database.
Merge pull request #6 from johntanner/master

Now correctly adding schedules to database.