Merge line tasks