update scripts to use utils.run method, and exit codes