add tpl support, change settings, etc