added support for params in the url