catch script errorsErrors are no longer runtimeexceptions, but now regular exceptions (commit: 1e67a5c)