#11: add -e command to exit on error