fix curl command line & count # of avail. flavors