old
init_rewrite