Scheduling script.