$HOME expansion needs double quotes.