buildin support for redirects