Added templating, still fighting with Apache config