made snap look for output on stderr for local scripts and output an error for it