diff --git a/README.md b/README.md
index dd7e9da..5dd103a 100644
--- a/README.md
+++ b/README.md
@@ -12,8 +12,14 @@
docker image build -t headless-fox .
```
-## Running
+## Running a single analysis
```
-docker run -i -v $PWD/static:/opt/static headless-fox ./script3.sh '{"url": "pearson.pl", "third_party_domains": ["hotjar.com", "cookielaw.org"]}' 123
+BASE_URL=http://localhost:3000 docker run -i -v $PWD/static:/opt/static headless-fox ./script3.sh '{"url": "pearson.pl", "third_party_domains": ["hotjar.com", "cookielaw.org"]}' 123
+```
+
+## Running the server
+
+```
+BASE_URL=http://localhost:3000 node .
```
diff --git a/annotate_header.sh b/annotate_header.sh
index 95ba0a1..eb86ef9 100755
--- a/annotate_header.sh
+++ b/annotate_header.sh
@@ -81,7 +81,7 @@ annotate_header(){
convert "$filename" "$overlay_filename" -compose Darken -composite "$annotated_filename.step.png"
convert "$annotated_filename.step.png" "$hardoverlay_filename" -compose src-over -composite "$annotated_filename"
rm "$overlay_filename" "$annotated_filename.step.png" "$hardoverlay_filename" "$cropped_filename" "$filename"
- echo "SCREENSHOT: "
+ echo "SCREENSHOT: "
}
#annotate_header "set-cookie" "identyfikator internetowy z cookie" "Cookie" "identyfikator internetowy z cookie"
diff --git a/ephemeral-x.sh b/ephemeral-x.sh
index 600c934..491fc39 100755
--- a/ephemeral-x.sh
+++ b/ephemeral-x.sh
@@ -144,6 +144,8 @@ while true; do
fi
done
+sleep 3; # didn't work without it on the server for some reason
+
export DISPLAY=:$num
quiet || echo "Using display: $DISPLAY"