ASE Script. Material ID fix.