Fixed bug related to issue #20: Regression: several SubScript applications now working incorrectly.
Started work on script result values by adding parameter to type Script.