bug fix, also check the path if user specified by -s option
fix the key
fix the project root path, should be a abspath.
Merge pull request #52 from lihex/develop

bug fix, also check the path if user specified by -s option