swapped #require(gpclib) gpclibPermit() lines in wards rscript