Make the agent setup scripts more user-friendly.

Refs #4865