make metadata path configurable