Added command line processing.