move substituter variable config to config object