Attempt 2 at getting HOME correctly set

Been running this for the past week with no issues. Probably worth running some tests though.