request can have notes
cfg_template_dir accept $request instead of hostname