make indexer executable outside of its own directory