The script works on Windows now
Merge pull request #3 from vdveen/windows

No need to change anything for Windows compatibility. *phew*