fix up the script.