making the merge script more cross-shell friendly