removed old extent based gdalwarp command and replaced with the template raster version.