Windows scripts corrected