data merger script