Now it works on windows.

(it should be tested on linux but it should work)