[jmdb] Reordering script