got the redirect working