Automatically get root path.
Merge pull request #1 from AlexRezit/master

Automatically get root path.