diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html
index 0cf8604..d510e9c 100644
--- a/extras/WiFiManager.template.html
+++ b/extras/WiFiManager.template.html
@@ -1,38 +1,80 @@
-
+
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Credentials Saved
Trying to connect ESP to network.
If it fails reconnect to AP to try again
+
+
+
+
+
+
-
\ No newline at end of file
+
+
+
diff --git a/extras/parse.js b/extras/parse.js
new file mode 100644
index 0000000..97a3e38
--- /dev/null
+++ b/extras/parse.js
@@ -0,0 +1,60 @@
+'use strict';
+
+const fs = require('fs');
+
+console.log('starting');
+
+const inFile = 'WiFiManager.template.html';
+const outFile = 'template.h';
+
+const defineRegEx = //gm;
+console.log('parsing', inFile);
+
+fs.readFile(inFile, 'utf8', function (err,data) {
+ if (err) {
+ return console.log(err);
+ }
+ //console.log(data);
+
+ let defines = data.match(defineRegEx);
+
+ //console.log(defines);
+ var stream = fs.createWriteStream(outFile);
+ stream.once('open', function(fd) {
+ for (const i in defines) {
+
+ const start = defines[i];
+ const end = start.replace('