Added Windows redirect support