enables setting port number via environment