prefs and config
fix path
use external config where available