Fixed dir example for 5.2
Merge pull request #99 from zevv/fix-dir-example

Fixed dir example for 5.2