scripts for scraping gcmd and making trees