diff --git a/README.md b/README.md
index 195e518446cbc4f7905a60acbc2588af5c6219e7..126585fd20e07166a5a72c390da3a0dafabb99f4 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,16 @@ You may want to do this so that you can track your internet connections consiste
 
 ## Using the script
 
-Adjust the InfluxDB connection settings at the top of `main.py` to fit your setup and then run with one of the options listed below.
+The InfluxDB connection settings are controlled by environment variables.
+
+The variables available are:
+INFLUX_DB_ADDRESS = 192.168.1.xxx
+INFLUX_DB_PORT = 8086
+INFLUX_DB_USER = user
+INFLUX_DB_PASSWORD = pass
+INFLUX_DB_DATABASE = speedtest
+SPEEDTEST_INTERVAL = 1800
+SPEEDTEST_FAIL_INTERVAL = 300
 
 Be aware that this script will automatically accept the license and GDPR statement so that it can run non-interactively. Make sure you agree with them before running.