adding code to allow for injecting a breadcrumb trail