Made corrections to osx pull script.