Fix broken dynamic config support.

The fact that the variable was removed, led me to a problem that is not too pleasant to deal with. The SDK Wasn't allowing me to use it with a config of my own(dynamic). Hope this helps!