Added set so no newlines get added to the eof