tried to fix awesootup tree builder. it needs to be tested. the old file is in the doc folder temporarly.