Rasters in directory get plotted and set attribute variables