Fixed shell script for windows