Added duplicate hostname check

Modified README and added a duplicate hostname check to the variable
parser function.