subdb download returns a stream
new core integration code