[Boost] Enriched the query status Shell script.