This is a simple script that will toggle the do not disturb feature in OS X on and off.  This works with Mavericks (10.9)