And half of that is parsing the options and processing the dry run...
The script is clean and straightforward.