SPR-11530 - added immutable-properties attribute, and code to intercept the properties so the script has them at the point it is executed