use main index file