updated to instantiate the kernel directly with the user_ns parameter instead of setting it afterwards