Safer bash scripts with 'set -euxo pipefail'