Export scripts stopped if any of the lines contained no data

Export scripts stopped if any of the lines contained no data.