add pipefail