Add output dir command line argument v2