Patches to script.