some styling work and tree structure script