Added ability to save command list to file using option -l -o