remove rooturl usage
use template, remove rooturl usage
use template
use template
cleanups
properly close the shapefile, so it is synced to disk