shells are weird; try to fix the most egregious bits for osx...
Changes