don't generate config file if not needed