Updating OSX shell script