Bash is good to have.
Use $HOME to get home dir, ~/ seems to always break.