fixed path problems in the .tpl files. No longer broken