Working on relative paths for different versions in make_pdf.sh