Added an export feature