add plugin for redirects