added check-schedule script to check for file existence