Merge to master script