Adds lazy loading of index. No longer require compiling