check_bond: updates a lot of shit in this script