Insert final newlines