using makeCAPtree script