headless mode: added the headless option to windows scripts.