config changes for Treecap
fixed serious issue with random Entity code