Update to the osx.sh script