use existing code path to resolve paths