Corrected windows scripts to match their shell counterparts.