Use new query params

Update the headerbar to use the query parameters.