Added a rewrite base