Mac version installation code