Adding in missing trailing new lines