added automatic generation of bibtex files