set -o nounset # Treat unset variables as an error and immediately exit
set -o errexit # If a command fails exit the whole script
set -o nounset # Treat unset variables as an error and immediately exit
set -o errexit # If a command fails exit the whole script