How do I print the text that is in a text box in to the console? Also how do I run a script when a button is pressed?