build tree dicts modifications and db builder scripts