Script should now use winpexpect if necessary.