Extended the features of the thermostatt option of dynamod
Patch for Leo