Adding support for setting the port via environment variable