Update script permission