[URIGen] Implemented Switcher, Fixed Some Errors, Re-enabled redirecting