control-parameters function

Set control parameters for various purposes