add command line reader