add domain_scope and publish variables
publish domain variables from control script.  Ick.
Add template for gear monitoring