DBM Rewrite tool