added final db export