Moved some output to the debug stream