genfiles.sh, uploadfiles.sh: Load arrays from external file and allow option to not generate raster image