adding a global flag to replace all console msgs
Merge pull request #6 from premii/patch-1

Adding a global flag to replace all console msgs.