Fixed the import function to pull in the full lines.