python script now perfectly adds the data to a db.