added mkdir for ipython