added merge script
added merge and split script