Write final server parameters conditionally

Change-Id: I7d63259e2517608c1dcab28278c3cff57656222e