Removed hardcoding of user home directory.