Automatically read queries from the label storage