set location of prefs file relative to the real dir