Fixed so that it runs on windows