fixing script after removing ms md class