Added toConsole method to begin handling interactive mode output