Modified the dbext plugin