Renamed 'root' to 'baseurl' and removed the default trailing slash