get import hooks working using current import mechanism