Add script support for Windows