built outer script fixed past scheduling