Combine the code for responding to ADC and NMDC searches