Changes compat
Redirect function implemented