Basically just adding comments. I pasted a short shell script into ChatGPT and asked it to summarize what the script does. Then I added that summary to the top of the script. Rinse and repeat 21 times