I think this script should at the very least warn a user on Windows that they are in unchartered waters rather than the script unexpectedly and inexplicably barf.