put some last touchs on the agent