Updated the line count script