Add code for redirecting to different server