fix problem of species with two-word names
make python, perl environment setting cleaner
add more messages
de-nest code and add more error checking