fixing error in conditional

the run.sh was erroring out
missing [] in the conditionals