added tool to create csv files for errors (good to create visualizaions)