Add set -e to scripts