Better script error reporting (#85)