Improved the rst documentation at the beginning of the script.