A general header fixer of HET-related FITS images. Initially I was using things like acamfix, gc1fix, etc... It just got to be too much! This script fits the bill for most HET images.
Usage: ghfix a.fits 15:58:57.70 +36:38:38.0 291.6 275.0 HR5957 ACAM arg1 - name of fits image arg2 - Ra in sexigecimal format arg3 - Dec in sexigecimal format arg4 - AZ_het in degrees arg5 - parallactic angle (HETQ) arg6 - Object name arg7 - detector name % ghfix 20150729T053840.7_acm_sci.fits 15:58:57.70 +36:38:38.0 291.6 275.0 HR5957 ACAMI usually set up scripts that prepare a lot of the arguments above (like AZ_het and HETQ) and then feed these values to ghfix via the script variables.