Reworked installer to use HOME env var in the profile.