reorganize scripts.