Further fixes the mac launch shell script