Made a version that works on Windows