making the script work in windows