Make TEMPLATE_PATH a configurable variable