added flagstatx and covstat commands