Header changed to array of lines rather than string