set debugging flag
make home dir var more obvious
remove set -x and add more explicit HOME var