Use a build query to export to scidb