Hi Mathijs.
Nice and usefull mod but i think i found a bug.
I place a chem or a rafinery, i put inside some modular upgrade (all 3 slots in my case).
Then i set the product to produce.
Then i need to swap the input/output and i use the shortcuts to swap them.
I notice that the structure correctly swap input/output but it loses all the upgrade modules insite it.
Could you check if you can correct this behaviour, please?
Thank You
Enrico