script encoding corrected