Automatically switch sound output

I’ve configured my laptop to recognize my Logitech headphones using the method found at USB headphones - openSUSE. According the HowTo the headset will only work if plugged in when the system boots. If I choose to use them after the fact I have to restart the sound system. Seems a bit kludgy to me. Is there a way to have the sound system automatically switch over to the headset by way of a script or something when they are plugged in?