merge with agency template