Added parens around "$AGENTLINES"