Switch Run to providing an InputStream

Was previously providing an OutputStream, but this was completely wrong!