more certain that the pdf file is deleted first
adding the command to the stderr