Fix typo
Add terminateScriptOnError in customize script