Turned on pipefail to make sure we exit on failure