It does not work on the oil refinery and its recipe, because the mod has it set up as fixed recipe. The recipe is fixed and it cannot be changed by scripts. For other recipes it works.
I could try some weird things, but I am not feeling particularly excited about them even if they work.