Finally finished the command history