added diag to ipython pull