new script for varcounts, improved dendrograms