WIP added support for adding given path to index