Added windows redirect support.