Handle query_string