changed output to csv
finished fix for csv
added labeling analysis scripts