added faction scrapping, export to file