added option to explicitly define $HOME, fixes #3