reorg scripts