changed some PDF stuff
added some booleans for the PDFs