add runtime config support