updating to recognise macs too