Add X-mid directory