modif register script