Add canvas and pdf generation