Windows Fix

Now works on windows, still get an error