add pipefail option.