script to extrat dresden db