index file template copied