renaming WORK_DIR => AGENT_WORK_DIR