Revert "Modified the scripts to be compatible in Windows"

This reverts commit 87cbb26ae2144b96ebb3359113ec2c7161ef327b.