small changes to headline_to_db.py