Added home directory path for settingsfile