merge script: debug