added command to convert to pdf from command line