PWS-173 #comment Fixed shell script for UNIX/Mac