fixes : now can run on windows in CLI mode