Modified document to include the last portion of the script.