added response checking to riaktool