The first script in this example will remove the last element from an array.
The second script will return the contents of the script element.