(David Golovan) - added tags, fix for multiple tags and undef instance name.