add env and port choice