Extract settings header and dim factor