Modified so it only runs on Windows