set the -e flag to test stop on bash error