update myscript

get the input text and parse it