added UI for CSV export