Got the mapping extract, now working on the merge command itself