Touch Bar button to toggle on/off wifi AND Blue tooth?

Is there a way to create a Touch Bar button for toggling WIFI and BT together? I know the Shell Scripts for each command, but have no idea how to combine them (and there's not enough room on the Touch Bar for both) thanks.

just add an additional action that runs after toggling wifi. simple.

Thanks. I'll give it a try. Currently using a keyboard shortcut that is scripted in KeyboardMaestro (and triggers both scripts, for BTT and WIFI toggles), but appears as a button on the Touch Bar with BTT—works perfectly.