Update script for mac should hopefully work for protected directories.