diff --git a/html/inject-css.lua b/html/inject-css.lua
index 3a1d838..3cf6c17 100644
--- a/html/inject-css.lua
+++ b/html/inject-css.lua
@@ -1,5 +1,5 @@
-filecss = arg[1]
-filehtml = arg[2]
+local filecss = arg[1]
+local filehtml = arg[2]
local function readfile(name)
local f = assert(io.open(name, "r"))
@@ -14,14 +14,14 @@ local function writefile(name, sum)
f:close()
end
-html = readfile(filehtml)
-css = readfile(filecss)
+local html = readfile(filehtml)
+local css = readfile(filecss)
css = css:gsub('%%', '%%%%')
-spattern = ""
-rpattern = ""
+local spattern = ""
+local rpattern = ""
-injectedHtml = html:gsub(spattern, rpattern)
+local injectedHtml = html:gsub(spattern, rpattern)
injectedHtml = injectedHtml:gsub('%%%%','%%')
if injectedHtml then