added set -e per charms review