I couldn't get this working as expected and I have to step away for
now, so I reverted it.
Basically the botname variable was just being set to
"botnames[env]" (ie, it made /var/lib/botnames[env]/ directories.)
I can try and look at this later...
kevin