@cfirth1005 I think you can simplify the code a bit if you call "os_get_active_feature" and "os_get_app_path" in os.inc

ex.
```php
$feature = os_get_active_feature();
if($feature){
  $path_prefix = variable_get("os_taxonomy_app_path_{$feature}", strval(os_get_app_path($feature)));
}
```
We always know the order of the URL items VSITE + APP_PATH + TAX_URL so it may be more reliable to put the vsite check first and if $item['original_map'][0] == VSITE then pop that off and continue with the app path if in a context, then check if get_normal_path returns a taxonomy_term URL