added unload for rasters to ensure that rasters will not be kept in memory the whole time (only for scripts)