support discovery with just -z or -t