changed assembly of discovery resource path to not use /../