Added command line interface to pipeline