renamed client to agent in scripts and roles