mac and linux working using shell script to launch