Mac deploy script corrections