Modify input: support input from stdin