Add codec defaults to rewrite sripts