fix script on windows