Add option for regenerate PDF file (fixed)