Fixed simplate rendering and added an autoindexer