Merged old SF_Scheduling script