fixed require statements....again
added get_instances_by_tag