Fair enough - having the task take multiple targets via command line as you said would accomplish that as well.