see desc for more info

added support for turning on the bind based on a state of a certain
variable