Add rewrited templates