add callback to import loader