added gtree script