port to env