Improved documentation for this script.