Added option to skip rewriting of urls