fs_root added to templates.  code should now be testable.