10 fix php script file logic to output all lines