fix up run.sh to be less platform specific