MNT: Moved ub from events to beamline_config