Use ENV variable for gateway