updates for generating encoding files