Added common scope for console commands. Fixes #573