After replacing some AttachTo() with SetupAttachment() and weirdly renaming PSConstants and PSVariables to PSConstant and PSVariable respectively it works with 4.13.
After replacing some AttachTo() with SetupAttachment() and weirdly renaming PSConstants and PSVariables to PSConstant and PSVariable respectively it works with 4.13.