set up lazyloading of crypto flags, saving config data.