Fix to script