Added state matcher to listinstances cli