Reorg main plugin