Added command line reading