add image import;bugfix: has_options / required_options are not set