add ability to send output

Just fill in handles.output, and it should come out.