update to add TARGET_HOST and PORT