I suspect the need to “change the layout a bit” might have something to do with the lack of a “port to M4L” button in Max. It’s not immediately obvious how one would automate that part of the workflow.