Originator's sample didn't work on Mac. Removed Makefile and replaced with shell script