Fixed directory protection
Merge pull request #137 from Lerogero/master

Fixed directory protection