in reply to More Arguments

You can keep the code you wrote and just use xargs that way you will call your script multiple times with just one argument
Update: oops my bad I misread what you wrote, please disregard