Added Snow Leopard support