Added console check.