Use $HOME shell variable instead of hard-coded home directory

Refs #2