make homedir a variable