add tpconfig directive