Changed output file extension from eps to pdf