Fix query string in urls, pass query string in app name