use mirror package

not used directly, but necessary for detecting if within a mirror