updated and added outputdir for dfas