add script encoding information