The script has been commented and linted.