updated config initialization