Scripts, treesplitter