fixed failed scenarios from output, added console output capture, console output debug