use "set -e" for build scripts