Making sure wrapped script callbacks run at the correct time.