set -o nounset; set -o errexit; set -o pipefail; is now coming from main.source