Post Processor Help

I need some post processor help, I am running a Masso controller on my home built plasma table, I just added a 4th (rotary) axis & purchased the rotary plugin.
The post I am using works great, but I am not sure how to edit it to add the 4th axis functionality.
Can anyone provide some assistance

MASSO Plasma (with THC)andScriber.scpost (9.33 KB)

I gave it a try myself, and I think I might have it but I would feel better if someone with more experience would be willing to verify my edits.

MASSO Plasma with THCScriberandRotary.scpost (9.75 KB)