It's mac_os_x.sh not max_os_x.sh
If has to be run with root anyway, don't jump through crazy sudo hoops.
OSX comes with curl, not wget
Exit with a positive error code