updated PDF generation and salary reference