Fix windows script as well