Added set_attributes op to agentcontrol