get the script right