Changing sh to bash, sh doesn't love the $() syntax