Minor fixes to revpe_dwicombine script