config merge script