added ExportWithRepositoryCommand command by Marc Easen