use ~ rather than hard-coded home dir