Added set -e to catch errors quickly.