Export data when E is pressed