when to go to script