fix script permission