add function to pass an ip-adress for an direct connect to a target