Added Zend way to check for console commands to exclude modules