Implement export functionality