Added hack to allow directory to be shared.