Update type_lagrange.sh