To convert the IMG files to FITS format, everything has been automated. To add or remove items during the lien resolution process, correct the files listed here to make the changes. SCRIPT While in the CODE directory: Run TFRELABEL to generate new PDS labels that allow PDSREAD to read in the overscan regions, if they exist. (For windowed images, they are included, but are set to 0) Run TFREFORM to generate the FITS header files and the label files for the FITS images. Run IDL routine SDU_FLIP, which uses READPDS to read in the images (using the new detached headers), grabs the corresponding FITS header, and writes them out to FITS files in the data directory. Check to make sure that the number of FITS images matches the number of original IMG images. Check the file nowrite.lst to see if any files were not written and why. Use the file DISPLAY_CHECK (IDL script) to display all the files and make sure there are none that have offset columns (diagonal across the screen) Run REDIST to redistribute the files into subdirectories. To create index files: ./pdsidx -n -r -d ../data -f keys.lst -r -o ../index/index.tab format the indewx file using TFINDEX_FORMAT Check the new file INDEX_NEW.TAB with respect to the label, then rename it to INDEX.TAB Verify the different labels etc. using VC_CHECK To create the download directories and the checksums, use SUM_ZIP