Require csv
Fix variable name
Add output during export