Added logic for manual host add.