switch to using homedir for config file