Fix tpl script paths by using a tplBase from the specified tpl arg

Fixes #1