Fix script permission