modify onfig_file & layout