changes port number to env