can save repl history with options for file and limit