Added the agent script