Modified build to use user.home instead of env.HOME.