improved consistency in concatenate script.