Modified control stcript