Added `-e` `sh` option to exit on error.