updated the generator to include imgpath, subtitle, and thumbpath