make the url replacer a real method and not an internal function