added flags for console commands