Added ability to specify port via env variables