modifying redirect query string as well