Added code that loops through parameters and passes them all.
Server code change.