build all scripts and error checking for windows