generate config before trying to load settings