move the scfg to separated file