Updated osx.sh script