Fix bug where it would always output to merged.csv