changed order how combined file is put together so that global settings do not override local or user settings