General goodness

Use “env” to look up bash.  Use -e to catch errors instead of chained &&s.  Add -o pipefail in case evolution ever introduces a pipe.