Added commandFlows and testing for this feature