Working installer script for macs