move scriptencoding