[MATERIAS] finished the script for migration of information