reorg dbscripts