Passing config variables

Hi All,

I have passed environment variables in my simulation.
I have succeeded in passing them using

Through shell file:
: ${Users:=1}
export Users=$Users
: ${Ramp:=1}
export Ramp=$Ramp

And accessing them in config file:

var totalUsers:Int = if (System.getenv(“Users”) != null) System.getenv(“Users”).toInt else 1
var rampOverSeconds:Int = if (System.getenv(“Ramp”) != null) System.getenv(“Ramp”).toInt else 1

Now I want to pass scenario names using config parameters.
val foo = exec(bar.foobar_function)

Can anyone help me understanding and passing config parameters for above scenaio.