QENG-1224 Modify to take array of hosts rather than just a single host a...

...s an argument