Fixed bugs in Windows scripts, should now be fully functioning.