If no outputdir specified creates new dir in pwd