added root check
Merge pull request #713 from nZEDb/dev

added root check