Renamed doetempgen file to index