Changed rewrite base