updated leonardtown sample to show use of query string