fixes bug with text input, changes source from argv to use input