reorganized settings to allow local overrides