replace all w/ matter from outer directory