Kamran - Data exporting part of the code fixed.

Data file ex[prt has been debugged