Set the HOME directory and use correct syntax