added getConsoleOutput and updated readme