adding set -e