QuickMagic step 3: add full functionality to deal with sites when the er_sites.txt file and the magic_measurements.txt files contain different site names