generalize taxonomic levels in script, and add species