Add port and hostname variables