Fixed issue reading config when running from Command line.
Merge pull request #62 from marisks/cmd-fix

Fixed issue reading config when running from Command line.