Merge versions script