This fixes #5 and should now work on Mac OS
Merge pull request #6 from githubstudent/bug-fix

This fixes #5 and should now work on Mac OS