.Add redirect function.