Added script encoding.