REFACTOR: moved the export.rake task into script/discourse script