Add export to excel functionality