Can now change the progress function of a kernel