added functionality to create a PDF version of the CSD