ML script recognition