2 way to set bits

Assoc array will set/unset particular bits, numeric indexes will reset all options and set only specified