Added flag to skip pdflatex