Added query to export just part of the hashtgas