working on saving command history