Add tabs to rewrite