cleanups
add _G.shell hack