Update to allow output to be put anywhere.