Issue #7969 by tj: Dynamic path