assets rewrite