set config by arguments