made install script more chef friendly

the ~ was not getting expanded to the home dir