added config support