add support for importmetada