commit

Use console only if we have one
Merge pull request #148 from ggozad/console_fix

Use console only if it is available.