changed atten controls to use 0/1 instead of enabled/disabled