Support variables in redirect