Rename preRedirect to predirect