Updated to run on windows.