Adding ipython for debugging