added arg:out put dir