Fix prefs dep
Fix hostname dep