Add vendor setup to detect tree