Changed the addVerbatimStatement function in the Script.java file to redirect the statement's output to an output file.