Python Tree Command Script