Futureproofed check_convergence by doing a runtime imprt of the appropriate program.