appendParameters function

Append parameters.