Can you please add `set -e` as the second line of the script to ensure that we have to explicitly handle all the failure scenarios?