Fixed catastrophic issue with script-side errors.