virtual directory templating