Quote:
And otherwise you should just flank your command with turning them on and off.

Here, an "$ebeeps" would help a lot - to restore the setting changed.