the bp endpoint joint probability script gives an output but is not yet tested