scripting: report on errors