updated readme to include redirect function info