Handle console commands