adding thrift config