Added template path to deployment variables. Fixed resources.template.php