Removed enumerate() from main() loop (used for testing). I forgot to add csv_md to md! fixed.