needed to rethink this- plate_id is generated in the same place as local_root all the time, so temp HTD needed to be set after as well