add version switch and die if no hosts are specified