Adds history to the console