DbScript and data export