add comments to index files of generator and sub generators