Fix script execute fail