Added script to validate schedule data.  Separated scheduling logic from main file.