Add setup scripts for the agent.

Refs #4865