Update to use stdout