diff --git a/docker-mods/librespeed/root/etc/cont-init.d/98-themepark b/docker-mods/librespeed/root/etc/cont-init.d/98-themepark
index ebcd5445..6a46fa20 100644
--- a/docker-mods/librespeed/root/etc/cont-init.d/98-themepark
+++ b/docker-mods/librespeed/root/etc/cont-init.d/98-themepark
@@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /app/www/public/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
- sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/www/public/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/www/public/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file
diff --git a/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run b/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run
index ebcd5445..6a46fa20 100755
--- a/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run
+++ b/docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run
@@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /app/www/public/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
- sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
- sed -i "s/<\/head>/<\/head> /g" /usr/share/webapps/librespeed/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/www/public/index.html
+ sed -i "s/<\/head>/<\/head> /g" /app/www/public/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
\ No newline at end of file