Only generate config file if it does not already exist