Fixed issue reading config when running from Command line.

Fixes #61