changed port back to 5000 and trying to use env var