Make the script exit early if any command fails.  Fixes #5