Fixed renderer, can now use local templates