Redirects based on runtime context