Update code to produce RxHistory file issue #93

Updated code to product RxHistory file issue #93