add reading commands from stdin