Fix script type