If you use papers app in combination with bibtex you might have troubles with webpages, because papers app uses some more or less "strange" types and attributes. So I wrote a script to fix it.