Added params for proper pdf generation (images dir)