Moving search parameters into a config argument