added new vars and template
updating service to use template and local scoping
updating to use value
fixing template
fixing template
switching between template languages ... sigh