Implemented variable index files based on wether index.build.html exists