added a newline before appending it to hosts