use IPython get_ipython_dir rather than hardcoded path