Added source-mode config parameter
Merge pull request #650 from edani/source-mode-624

Added source-mode config parameter