added host and port when choosing a target other than Generic