lib/runscripts/util.run: support custom handlers for all targets (gateway()) as well as targets w/o function (fallback())
lib/runscripts/util.run: support custom handlers for all targets (gateway()) as well as targets w/o function (fallback())