set up redirect options