simplify import hook in console