this script is for Lion or Mountain Lion