Make sure prefs are defined, even if not set. Otherwise they will be reset upon every server restart.