update examples to use mac as well