adjusted not_if guards in `agent' recipe.