added ability to set default query string `/?q={query}`