using the API for local paths
 starting to swap in the proper path lookup