Modification of inmf_main such that only certain specific patches can be evaluated.