misc changes and added phytools as a depends