Add command line mode