I suggest using some type of file e.g. hosts.txt and checking for hosts so you dont keep adding hosts into the script