set_global_params function

set_global_params - sets all global parameters