first cut of script error reporting