Extensions to Maratis MScript system