Fixed bug where the last import did not have a newline after it