updated for MacOS 10.8
updated for MacOS 10.8