Is there a way to force the equirectangular map rotation script to run in reverse?

Currently, I'll take my map, and apply a pitch of -150 and a yaw of 65 to center a continent for work.

If I then try to use a pitch of 150 and a yaw of -65 to move it back into place it won't work. Instead I'm forced to apply the yaw of 65 first, then the pitch of 150.

I imagine this is because the script applies Roll -> Pitch -> Yaw. Is there a way I could add a button that causes the operations to run Yaw -> Pitch -> Roll?

Note: I'm unfamiliar with how G'mic works, and only installed it because I came across these scripts.