re-layout agent/directories