fixed the home directory setting for global and local installs