Added index document with vars