CSV download perfected