passing addToConfig parameter allows you to define a complete JSON to merge instead of adding each variable as its own parameter.