Moved the set -e back to its original position