added sql output to write_kills_to_SQL