More dev of schedule script