Changing query string for local model retrieving