Full logic setup, just needs URI detection / redirection