added undocumented version of main script to set temperatures on thermostats