Added flush cmd