changing from /bin/sh to /bin/bash

tested script on mac, works fine;
tested on linux mint, /bin/sh doesnt invoke bash, so changed to
#!/bin/bash