minor changes to redirector