Add LDP extract and merge scripts