making download to excel work