I'm not sure if I can follow you here. Photomechanic will apply all code replacements that you have loaded, so if you have multiple code replacement files loaded, PM will look in all of those for the replacement text. This works fine as long as your code replacement files do not (re)define the same code, otherwise the last active will always be taken. And this may be the wrong one for you. I guess this is your issue? If so, other than telling PM not to use a particular code replacement file, there is no real solution I guess...