Create rewrite.script