Adjusted to run on Windows