support redirects in routes file