Couple of small amendments and addition of the generated PDF.