adding support for importing tags