Exporting in the correct directory