Moved exit-on-error to script utils and to all backends and frontends.