Shuffle around set -e's to potentially stop error masking by external script.