thrift script and prelim gen files