now the ip-address that is set is used instead of a hardcoded one