Fixed the variable sConfig not being local.