Modifying run method to output to STDOUT