close #101 merging global and trget level options manually so data and partial files can be joined