making changes to scfg and cfg. needs fixing