added new links to redirect function