changed port to use env variable