fixed up scripts for windows