Auto install thrift-mode