add config and line