in reply to print Output
ameezys has asked several questions about this code (beginning here) which may be worth reviewing given your question. Also: