Made copying to the HOME directory work better.