fixed a bug in export2 - hard coded directory name