All migration bugs fixed and added valid CSVs output