Fixed path to rewrite script.