added ip discovery merging script