copy sample_cfg.h into cfg.h