Use user's home dir (~), not /root

Tip from Tim Haak