adapt anyagent with process to respect target root
Changes