thrift 0.0.9 & script changes