reimplemented import callbacks with load hooks