Correct the migrate script: case of lacking information