error reason and timeout support
fixed silly timeout script error