def METHOD_NAME(locals, globals):
    """Populate the namespace in which the initialisation script will run.
    Parameters
    ----------
    locals : dict
    globals : dict    
    """
    global defGlobals
    global defLocals
    defLocals = locals
    defGlobals = globals