running bash scripts with -xe