Updated default template. makeidx and glossaries are added.