Local merge script