""" smashlib
"""
__version__ = 0.1

def start_ipython(argv=None, **kwargs):
    from smashlib.overrides import launch_new_instance
    return launch_new_instance(argv=argv, **kwargs)

def embed(argv):
    #from IPython import start_ipython
    start_ipython(argv=argv)

@@ -69,16 +69,90 @@
 wargs):%0A
+    #from smashlib.python import ModPath%0A    #modpath = ModPath.install()%0A
     from
@@ -269,49 +269,236 @@
 argv
+=tuple(), **kargs
 ):%0A    
-#
 from 
-IPython import start_ipython
+goulash._inspect import get_caller%0A    context = kargs.pop('user_ns', %7B%7D)%0A    caller_context = get_caller(2)%0A    context.update(caller_context%5B'globals'%5D)%0A    context.update(caller_context%5B'locals'%5D)
 %0A   
@@ -521,10 +521,36 @@
 rgv=argv
+, user_ns=context, **kargs
 )%0A

fix smashlib.embed()