Add priority support for custom redirects