Update: Added error control: stderr